Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Controlling Analog Video


VDGetBrightness

The VDGetBrightness function returns the current brightness value, which reflects the overall brightness of the digitized video image. Brightness values range from 0 to 65,535, where 0 is the darkest possible setting and 65,535 is the lightest possible setting.

pascal VideoDigitizerError VDGetBrightness
                                  (VideoDigitizerComponent ci,
                                     unsigned short *brightness);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
brightness
Contains a pointer to an integer that is to receive the current brightness value. The video digitizer component places the brightness value into the field referred to by this parameter.
RESULT CODES
noErr0No error
digiUnimpErr-2201Function not supported
SEE ALSO
Your application can set the brightness value by calling the VDSetBrightness function (described in the previous section). To obtain the recommended brightness value, your application can call the VDGetVideoDefaults function (described on page 8-66).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help